<%@ page language="java" pageEncoding="utf-8"%>
<%@ page import="com.farm.web.constant.FarmConstant"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/view/conf/farmtag.tld" prefix="PF"%>
<style>
.cbtg_file_info {
	padding: 15px;
}

#fileStateId {
	color: #ca5863;
	margin-left: 1em;
}
</style>
<div class="cbtg_file_info">
	当前文件：${tfile.filename}<span id="fileStateId"></span>
	<div style="float: right; padding-right: 20px; margin-top: -4px;">
		<c:if test="${template.pstate!='9'}">
			<button type="button" onclick="saveRemoteText('${tfile.id}')"
				id="fileSaveButtonId" class="btn btn-primary btn-sm">保存</button>
			<button type="button" onclick="reLoadRemoteText('${tfile.id}')"
				class="btn btn-default btn-sm">重新加载</button>
		</c:if>
	</div>
</div>
